{%if show_pager %}
<div class="m clearfix">
	<div class="pagin pagin-m fr">
	   {% if has_previous %}
		  <a href="?page={{ previous }}&{{query_string}}" class="prev">上一页<b></b></a>
	   {%else%}
		  <span class="prev-disabled">上一页<b></b></span>
	   {% endif %}

	   {% if show_first %}
		  <a href="?page=1&{{query_string}}">1</a>
		  <span>...</span>
	   {% endif %}
	   {% for linkpage in page_numbers %}
		  {% ifequal linkpage page %}
			 <a class="current">{{ page }}</a>
		  {% else %}
			 <a href="?page={{ linkpage }}&{{query_string}}">{{ linkpage }}</a>
		  {% endifequal %}
	   {% endfor %}
	   {% if show_last %}
		  <span>...</span>
		  <a href="?page={{ pages }}&{{query_string}}">{{ pages }}</a>
	   {% endif %}
	   {% if has_next %}
		  <a href="?page={{ next }}&{{query_string}}" class="next">下一页<b></b></a>
	   {%else%}
		  <span class="next-disabled">下一页<b></b></span>
	   {% endif %}
	</div>
</div>
{% endif %}